package com.wenguo.bussines.service;

import java.util.List;
import java.util.Map;

import com.wenguo.bussines.model.Group;

public interface GroupService {

	public Group findGroupById(Integer id);

    public List<Group> findAllGroup();
    
    public List<Group> findGroupByEntity(Group group);

    public List<Group> findGroupByMap(Map<Object, Object> map);

    public List<Group> findGroupByDefined(Map<Object, Object> map);
    
    public boolean insertGroup(Group group);
    
    public boolean updateGroup(Group group);
    
    public boolean deleteGroup(Integer id);
    
}
